import request from './request'
//注册
export const register = (params)=>request.post('/open/register',params)
//登录
export const login = (params)=>request.post('/login',params)
//送货单/全部
export const SHDquanbu = (params)=>request.get('/order/v1/list',{params})
//送货单/待发货
export const SHDdaifahuo = (params)=>request.get('/order/v1/list/1',{params})
//送货单/待收货
export const SHDdaishouhuo = (params)=>request.get('/order/v1/list/2',{params})
//送货单/待评价
export const SHDdaipingjia = (params)=>request.get('/order/v1/list/3',{params})
//评价订单
export const Pingjiadan = (params)=>request.post('/order/v1/evaluate',params)
//评价详情
export const EvaluateInfo = (params)=>request.get('/order/v1/evaluateInfo/'+params)
//送货单/订单详情
export const info = (params)=>request.get('/order/v1/orderInfo/'+params)
//送货单/发货
export const send = (params)=>request.post('/order/v1/send',params)
//送货单/收货
export const ConfirmReceipt = (params)=>request.post('/order/v1/confirmReceipt/'+params)
//消息列表
export const message = (params)=>request.get('/api/message',{params})
//消息详情
export const messageId = (params)=>request.get('/api/message/'+params)
//消息已读
export const updates = (params)=>request.put('/api/message/updates',params)
//个人中心
export const usersList = ()=>request.get('/users/list')
//个人信息
export const usersInfo = ()=>request.get('/users/info')
//版本信息
export const version = ()=>request.get('/users/version')
//物流单列表
export const star = (params)=>request.get('/api/star',{params})
//评价物流单
export const starPJ = (params)=>request.put('/api/star',params)
//评价物流单详情
export const starXQ = (params)=>request.get('/api/star/'+params)
//客户列表信息
export const cust = (params)=>request.get('/api/cust',{params})
//获取客户视图
export const custId = (params)=>request.post('/api/cust/'+params)
//获取客户信息详情
export const custXQId = (params)=>request.get('/api/cust/'+params)
//修改客户信息
export const custput = (params)=>request.put('/api/cust',params)
//新增客户信息
export const custXZ = (params)=>request.post('/api/cust/',params)
//走访列表信息
export const visit = (params)=>request.get('/api/visit',{params})
//新增走访信息
export const visitXZ = (params)=>request.post('/api/visit',params)
//获取走访信息详情
export const visitXQ = (params)=>request.get('/api/visit/'+params)



